package cn.usian.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
@ConfigurationProperties(prefix = "emp")
public class Emp {
    private Integer eid;
    private String ename;
    private String address;
    private Date birthday;
    private String hobby;

}
